package ex.klmy.gov.bean;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.json.JsonField;

import java.util.Date;

/**
 * Created by xiaguoqiang on 16/11/4.
 */
@Table("[wbleadermail]")
public class LeaderMailDetails extends LeaderMail{
    @Column("wbserialnum")
    private String serialNum;

    @Column("wbtitle")
    private String title;

    @Column("wbname")
    private String name;

    @Column("wbphone")
    private String phone;

    @Column("wbaddr")
    private String addr;

    @Column("wbemail")
    private String email;

    @JsonField(dateFormat="yyyy年MM月dd日")
    @Column("wbdate")
    private Date writeDate;

    @Column("wbcontent")
    private String content;

    @Column("wbrecontent")
    private String recontent;

    @JsonField(dateFormat="yyyy年MM月dd日")
    @Column("wbredate")
    private Date redate;

    public String getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(String serialNum) {
        this.serialNum = serialNum;
    }

    @Override
    public String getTitle() {
        return title;
    }

    @Override
    public void setTitle(String title) {
        this.title = title;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getWriteDate() {
        return writeDate;
    }

    public void setWriteDate(Date writeDate) {
        this.writeDate = writeDate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getRecontent() {
        return recontent;
    }

    public void setRecontent(String recontent) {
        this.recontent = recontent;
    }

    public void setRedate(Date redate) {
        this.redate = redate;
    }

    public Date getRedate() {
        return redate;
    }
}
